package com.boglond.builder;

import com.boglond.entity.TableInfoDO;
import com.boglond.util.FreemarkerUtil;

import java.util.List;

public class GeneratePOInterfaceImpl implements GeneratePOInterface {

    @Override
    public void createPOClass(List<TableInfoDO> tableInfoDOList) {
        for(TableInfoDO tableInfo: tableInfoDOList){
            FreemarkerUtil.createPOClass(tableInfo.getEntityName(),tableInfo.getColumnsInfo());
        }
    }

}
